//
//  XHGoodsListCell.h
//  umbs
//
//  Created by 冷山 on 16/6/15.
//  Copyright © 2016年 冷山. All rights reserved.
//

#import <UIKit/UIKit.h>

@class XHGoodsListCell;

@protocol XHGoodsListCellDelegate <NSObject>

-(void)cell:(XHGoodsListCell *)cell addButtonAction:(id)sender;
-(void)cell:(XHGoodsListCell *)cell delButtonAction:(id)sender;

@end

static NSString * const XHGoodsListCellIdentifier = @"XHGoodsListCellIdentifier";

@interface XHGoodsListCell : UITableViewCell

@property (nonatomic, assign) id<XHGoodsListCellDelegate>delegate;
@property (weak, nonatomic) IBOutlet UILabel *ui_titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *ui_priceLabel;
@property (weak, nonatomic) IBOutlet UIButton *ui_delButton;
@property (weak, nonatomic) IBOutlet UIButton *ui_addButton;
@property (weak, nonatomic) IBOutlet UILabel *ui_countLabel;
@property (weak, nonatomic) NSDictionary *dic;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *la_height;
@end
